/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */
 
#ifndef DYMAMICTYPEMAP
#define DYMAMICTYPEMAP

#ifdef __cplusplus
extern "C" {
#endif


typedef struct dynamic_type_map
{
	reference_type_map ref_map;
	int last_map_id;
}
dynamic_type_map;

void dynamic_type_map_init( dynamic_type_map * map, type_library * library, type_map * reference );

void dynamic_type_map_init_reflect( dynamic_type_map * map, type_library * library );

/* Overloaded type map functions.  Only call directly when overloading */
int _dynamic_map_get_id( type_map * map, type_name * name );
int _dynamic_map_get_mapped_id( type_map * map, int systemId );



#ifdef __cplusplus
}
#endif

#endif
